package com.example.demo.service.order;

import com.example.demo.common.BasePageResponse;
import com.example.demo.common.ResultObject;
import com.example.demo.jooq.tables.pojos.Email;
import com.example.demo.jooq.tables.pojos.VisaCard;
import com.example.demo.model.request.VisaPageRequest;
import com.example.demo.model.request.VisaRequest;
import com.example.demo.model.request.VpsPageRequest;
import com.example.demo.model.response.VisaResponse;
import com.example.demo.model.response.VpsResponse;

public interface IVisaCardService {
    /**
     * 分页查询Vps
     * @param visaPageRequest
     * @return ResultObject<BasePageResponse<VpsResponse>>
     */
    public ResultObject<BasePageResponse<VisaResponse>> queryPageCardList(VisaPageRequest visaPageRequest);


    /**
     * 保存卡信息
     * @param visaCard 数据对象
     * @return ResultObject<BasePageResponse<VpsResponse>>
     */
    public ResultObject saveCard(VisaRequest visaCard);

    /**
     * 查询卡的详细信息
     * @param cardId 参数ID
     * @return ResultObject<VisaResponse>
     */
    public ResultObject<VisaResponse> queryCardDetail(String cardId);

}
